﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pibby.Core
{
	public enum PortableDeviceStatus
	{
		Unknown = 0,
		Disconnected,
		Connected
	}

	public class PortableDeviceEventArgs : System.EventArgs
	{
		public static PortableDeviceEventArgs NotUsed = new PortableDeviceEventArgs();

		#region Constructors

		public PortableDeviceEventArgs()
		{
		}

		public PortableDeviceEventArgs(PortableDeviceStatus status)
		{
			this.Status = status;
		}

		public PortableDeviceEventArgs(string displayName, string volumeName, string driveName, PortableDeviceStatus status)
		{
			this.Name = displayName;
			this.DriveName = driveName;
			this.Status = status;
		}

		#endregion Constructors

		#region Properties

		public string Name
		{
			get;
			private set;
		}

		public string DriveName
		{
			get;
			private set;
		}

		public string VolumeName
		{
			get;
			private set;
		}

		public PortableDeviceStatus Status
		{
			get;
			private set;
		}

		#endregion Properties
	}
}
